package com.example.myapplication.bean.article

import com.google.gson.annotations.SerializedName

/**
 *
 *
 * @author : Kun
 * @date : 2021/5/18 18:05
 */
data class ArticleBean(
    @SerializedName("niceDate") var niceDate: String,
    @SerializedName("title") var title: String,
    @SerializedName("link") var link: String,
    @SerializedName("author") var author: String,
    @SerializedName("shareUser") var shareUser: String,
    @SerializedName("collect") var collect: Boolean,
    @SerializedName("fresh") var fresh: Boolean,
    @SerializedName("id") var id: Int,
    @SerializedName("originId") var originId: Int=-1,
    @SerializedName("userId") var userId: Int=-1,
    /**
     * 是否置顶
     */
    var isTop: Boolean = false
)
/**
{"apkLink":"","audit":1,"author":"","canEdit":false,"chapterId":93,"chapterName":"基础知识","collect":false,"courseId":13,"desc":"","descMd":"","envelopePic":"","fresh":false,"host":"","id":18311,"link":"https://juejin.cn/post/6962438735426224136","niceDate":"2天前","niceShareDate":"2天前","origin":"","prefix":"","projectLink":"","publishTime":1621179609000,"realSuperChapterId":37,"selfVisible":0,"shareDate":1621149255000,"shareUser":"goweii","superChapterId":126,"superChapterName":"自定义控件","tags":[],"title":"一文理解 onMeasure -- 从 MeasureSpec 说起","type":0,"userId":20382,"visible":1,"zan":0}
 */
